IO_PEND%
PEND

Syntax: IO_PEND% (#ch)
   and: PEND (#ch)
Location: BTool (IO_PEND%), TinyToolkit (PEND)

PEND is a logical value and returns 1 if there is data waiting to be read in the specified channel and 0 if not.

The function IO_PEND% is the same as NOT PEND.

NOTE:
PEND only works with channels which will accept input (not scr_) and reports an "end of file" error (ERNUM=-10, ERR_EF=1) if a connected output pipe has been closed. 

CROSS-REFERENCE:
EOF checks if a file is at its end. 
NOT EOFW is identical to PEND.
